package com.quanyan.stadium.enums.errorEnum;

/**
 * Created with IntelliJ IDEA.
 * User: zyq
 * Date: 2016/6/30 0030
 * Time: 14:16
 */

public enum GameSignUpEnum {

    GAME_SING_OK(9000,"000","赛事ok！","赛事ok！"),
    HAVING_NOT_GAME_FROM_GAMEID(9001,"001","比赛不存在！","比赛不存在！"),
    GAME_IS_END_STOP_SIGN(9002,"9002","比赛已经结束停止报名！","比赛已经结束停止报名！"),
    GAME_SIGN_IS_SOPT(9003,"9003","已截止报名","已截止报名"),
    GAME_SIGN_USER_IS_FULL(9004,"9004","报名人数已满","报名人数已满"),
    USER_HAS_NO_CLUB(9005,"9005","该比赛仅限俱乐部成员，请前往加入该俱乐部","该比赛仅限俱乐部成员，请前往加入该俱乐部"),
    EGG_CANUSE_AMOUNT_ERROR(9006,"9006","鸟蛋可以抵扣余额请求非法！","俱乐部可以支付余额请求非法！"),
    CLUB_CANUSE_AMOUNT_ERROR(9007,"9007","俱乐部可以支付余额请求非法！","俱乐部可以支付余额请求非法！"),
    USER_HAVING_UNPAY_ORDER(9008,"9008","您的报名过于频繁，请稍后再试","您的报名过于频繁，请稍后再试"),
    USER_HAVING_NO_SIGN_ACCESS(9009,"9009","用户已经报过名，不能报名！","用户已经报过名，不能报名！"),
    USER_FAIL_ORDER_LIMIT(9010,"9010","用户一天中支付失败的订单太多，不能再次下单","用户一天中支付失败的订单太多，不能再次下单"),
    HAVE_NO_CLUB(9011,"9011","需要以俱乐部名义来参加！","需要以俱乐部名义来参加！"),
    NOT_IN_CLUB(9012,"9012","该比赛仅限俱乐部成员，请前往加入该俱乐部","该比赛仅限俱乐部成员，请前往加入该俱乐部"),
    CLUB_HAS_SIGN(9013,"9013","该俱乐部已经报过名，不能重复报名！","该俱乐部已经报过名，不能重复报名！"),
    NOT_FREE_GAME(9014,"9014","不是免费活动，不能走分享页报名！","不是免费活动，不能走分享页报名！"),
    ;


    GameSignUpEnum(int id, String code, String name, String label) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.label = label;
    }

    private int id;

    private String code;

    private String name;

    private String label;

    public int getId() {
        return id;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public String getLabel() {
        return label;
    }
}
